set vs_home=C:\Program Files (x86)\Microsoft Visual Studio 11.0
set opencover_home=packages\OpenCover.4.5.1403
set reportgen_dir=packages\ReportGenerator.1.8.0.0
set path=%path%;%opencover_home%;%reportgen_dir%

set target_test=SimpleActor.Test.dll
set target_dir=SimpleActor.Test\bin\Debug
set filters=+[SimpleActor*]* -[*]Microsoft*

mkdir CoverageTestResult

OpenCover.Console -register:user -target:"%vs_home%\Common7\ide\mstest.exe" -targetargs:"/noisolation /testcontainer:%target_test%"  -targetdir:"%target_dir%" -filter:"%filters%" -output:CoverageTestResult\result.xml -mergebyhash

reportgenerator "CoverageTestResult\result.xml" "CoverageTestResult"

CoverageTestResult\index.htm
